package cn.yexiaofeng.bookmanager.dao;



import cn.yexiaofeng.bookmanager.beans.LendList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LendListMapper {

/**
 * 查询借阅信息
 */
public List<LendList>  getLendInfo();

/**
 * 根据bookid查询 readerid
 */
public  LendList getReaderIdByBookId(@Param("book_id") String book_id);

}
